﻿using System;

namespace Simp.Model
{
	/// <summary>Represents the capacity of being serialized to a <see cref="string"/>.</summary>
	public interface IExpressionSerializer
	{
		/// <summary>Serializes itself into a <see cref="string"/>.</summary>
		/// <param name="builder"></param>
		/// <param name="parameters"></param>
		void Serialize(AppendOnlyStringBuilder builder, params IExpression[] parameters);
	}
}